﻿//by Grimm - Inspired by Igor Drukov
#define CT_COMBO                 4

class RscComputer
{
	IDD = 8000;
	MovingEnable = 1;
	
	class Controls
	{
		class CPUBackground:RscBackground
		{
		  moving=true;
			x=0.05;
			y=0.04;
			w=0.9;
			h=0.9;
			text="";
			ColorBackground[]={0.1,0.1,0.2,0.7};
			ColorText[]={0.1,0.1,0.1,1};

		};

		
		class acc_time : boutons
		{ 
			idc = 11557; 
			x = 0.500; 
			y = 0.040; 
			w = 0.13; 
			h = 0.015; 
			text = "Acc Time (1D=12Mn)"; 
			action = "if(go_acctime) then {go_acctime = false ; publicvariable ""go_acctime"";Sync_time = date;publicvariable ""Sync_time""} else {go_acctime = true ; publicvariable ""go_acctime"";};";
			info = "Speeds up the time, in 12 minutes will elapse 1 day";
		};
		class openshop:boutons
		{ 
			idc = 10680; 
			x = 0.500; 
			y = 0.060; 
			w = 0.090; 
			h = 0.015; 
			text = "-----";
			action = "";
			info = "Weapon Shop";
		};		
		class spectat:boutons
		{ 
			idc = 10601; 
			x = 0.640; 
			y = 0.040; 
			w = 0.055; 
			h = 0.015; 
			text = "Camera";
			action = "if (player == (vehicle player)) then {breakclic = breakclic + 1;  [] execVM ""Computer\spectator\Start_freecam.sqf""} else {hint ""3D Cam deactivated in vehicles"";};";
			info = "Watch anything, anywhere, at any time";
		};
		class move_respawn:RscText
		{
		idc = 11550; 
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "----";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.095;
		y = -0.220;
		w = 0.56;
		h = 0.61;
		info = "";
		};		
		class W_respawn:boutons
		{ 
			idc = 11551; 
			x = 0.225; 
			y = 0.075; 
			w = 0.040; 
			h = 0.015; 
			text = "----";
			action = "";
			info = "";
		};

		class E_respawn:boutons
		{ 
			idc = 11552; 
			x = 0.270; 
			y = 0.075; 
			w = 0.040; 
			h = 0.015; 
			text = "----";
			action = "";
			info = "";
		};
		class G_respawn:boutons
		{ 
			idc = 11553; 
			x = 0.315; 
			y = 0.075; 
			w = 0.040; 
			h = 0.015; 
			text = "----";
			action = "";
			info = "";
		};
		class C_respawn:boutons
		{ 
			idc = 11554; 
			x = 0.360; 
			y = 0.075; 
			w = 0.040; 
			h = 0.015; 
			text = "----";
			action = "";
			info = "";
		};		
		class God_mod:boutons
		{ 
			idc = 10603; 
			x = 0.705; 
			y = 0.040; 
			w = 0.070; 
			h = 0.015; 
			text = "God Mode";
			action = "[] execVM ""scripts\VTS_Functions\cli_setcaptive.sqf"";";
			info = "Toggle Invincibility";
		};

		class LoadSave_VTSMission:boutons
		{ 
			idc = 15603; 
			x = 0.850; 
			y = 0.040; 
			w = 0.095; 
			h = 0.030; 
			text = "Load / Save";
			action = "call Dlg_StoreParams;createDialog ""rsccommandloadsave"";[] execvm ""Computer\loadsavemission.sqf"";";
			info = "Load or Save mission preset";
		};

   		
		class sec_obj : RscEdit
		{
		  	idc = 10600;
		  	x = 0.500;
		  	y = 0.759;
		  	w = 0.15;
		  	h = 0.02;
			   colorText[] = {0.9,0.9,0.9, 1};
		    colorSelection[] = {0.5, 0.5, 0.5, 1};
		    info = "Enter the task description here";
		};
		
		class add_sec_objective:boutons
		{ 
			idc = 10559; 
			x = 0.500; 
			y = 0.781; 
			w = 0.15; 
			h = 0.020; 
			text = "Create a new task";
			action = "breakclic = breakclic + 1; [] execVM ""Computer\console\console_add_sec_obj.sqf"";";
			info = "Create a task for the current selected side. It will only be seen by players from this side";
		};
		
		class task_done:boutons
		{ 
			idc = 10556; 
			x = 0.500; 
			y = 0.804; 
			w = 0.15; 
			h = 0.015; 
			colorText[] = { 0.2,1,0.2, 1 };
			text = "Set task succeeded";
			action = "breakclic = breakclic + 1; [] execVM ""Computer\console\console_task_success.sqf"";";
			info = "Validate any task";
		};

		class task_fail:boutons
		{ 
			idc = 10554; 
			x = 0.500; 
			y = 0.823; 
			w = 0.15; 
			h = 0.015; 
			colorText[] = { 1,0.2,0.2, 1 };
			text = "Set task failed";
			action = "breakclic = breakclic + 1; [] execVM ""Computer\console\console_task_fail.sqf"";";
			info = "Fail any task";
		};
		
		class tpplayer_onspawn:boutons
		{ 
			idc = 10555; 
			x = 0.790; 
			y = 0.840; 
			w = 0.155; 
			h = 0.020; 
			text = "Players -> to Respawns";
      //text = "END MISSION (success)";  
			action = "[] execvm ""Computer\console\console_sendplayerstorespawns.sqf"";";
			info = "Teleport every player to their respawn sides bases";
		};
		class fin_missionS:boutons
		{ 
			idc = 10557; 
			x = 0.790; 
			y = 0.880; 
			w = 0.155; 
			h = 0.020; 
			colorText[] = { 0.2,1,0.2, 1 };
			text = "END MISSION (success)"; 
			action = "exercice_okreussi = true ; publicvariable ""exercice_okreussi"";";
			info = "Terminate the VTS on a success";
		};
		
		class fin_missionF:boutons
		{ 
			idc = 10558; 
			x = 0.790;
			y = 0.900;  
			w = 0.155; 
			h = 0.020; 
			colorText[] = { 1,0.2,0.2, 1 };
			text = "END MISSION (Failed)"; 
			action = "exercice_Failed = true ; publicvariable ""exercice_failed"";";
			info = "Terminate the VTS on a fail";
		};
		
		
		
		class Details : RscStructuredText
		{
			idc = 102;
			font = LucidaConsoleB;
			x = 0.1;
			y = 0.14;
			w = 0.6; 
			h = 1;
			default = true;
			colorText[] = {0.9,0.9,0.9, 1};
			text = "";
		};
				
		class pluie_centre:boutons
		{ 
			idc = 10028; 
			x = 0.72; 
			y = 0.760; 
			w = 0.025; 
			h = 0.015; 
			text = "pluie"; 
			info = "Modify rain from 0 - none to 10 - storm";
		};
		
		class pluie_gauche:boutons
		{ 
			idc = 10029; 
			x = 0.67; 
			y = 0.760; 
			w = 0.049; 
			h = 0.015; 
			text = "Rain <"; 
			action = "valid_pluie = valid_pluie-1 ; [0] execVM ""computer\boutons\pluie_action.sqf"";";
			info = "Modify rain from 0 - none to 10 - storm";
		};
		
		class pluie_droite:boutons
		{ 
			idc = 10030; 
			x = 0.74; 
			y = 0.760; 
			w = 0.02; 
			h = 0.015; 
			text = ">"; 
			action = "valid_pluie = valid_pluie+1 ; [0] execVM ""computer\boutons\pluie_action.sqf"";";
			info = "Modify rain from 0 - none to 10 - storm";
		};
		
		class pluie_valider:boutons
		{ 
			idc = 10031; 
			x = 0.76; 
			y = 0.760; 
			w = 0.03; 
			h = 0.015; 
			text = "ok"; 
			action = "[1] execVM ""computer\boutons\pluie_action.sqf"";";
			info = "Modify rain from 0 - none to 10 - storm";
		};
		
		class brume_centre:boutons
		{ 
			idc = 10032; 
			x = 0.72; 
			y = 0.780; 
			w = 0.025; 
			h = 0.015; 
			text = "brume"; 
			info = "Modify fog from 0 - none to 10 - london";
		};
		
		class brume_gauche:boutons
		{ 
			idc = 10033; 
			x = 0.67; 
			y = 0.780; 
			w = 0.049; 
			h = 0.015; 
			text = "Fog  <"; 
			action = "valid_brume = valid_brume-1 ; [0] execVM ""computer\boutons\brume_action.sqf"";";
			info = "Modify fog from 0 - none to 10 - london";
		};
		
		class brume_droite:boutons
		{ 
			idc = 10034; 
			x = 0.74; 
			y = 0.780; 
			w = 0.02; 
			h = 0.015; 
			text = ">"; 
			action = "valid_brume = valid_brume+1 ; [0] execVM ""computer\boutons\brume_action.sqf"";";
			info = "Modify fog from 0 - none to 10 - london";
		};
		
		class brume_valider:boutons
		{ 
			idc = 10035; 
			x = 0.76; 
			y = 0.780; 
			w = 0.03; 
			h = 0.015; 
			text = "ok"; 
			action = "[1] execVM ""computer\boutons\brume_action.sqf"";";
			info = "Modify fog from 0 - none to 10 - london";
		};
		
		// bouton heure
		
		class heure_centre:boutons
		{ 
			idc = 10036; 
			x = 0.72; 
			y = 0.800; 
			w = 0.025; 
			h = 0.015; 
			text = "heure"; 
			info = "Set hour of the day from 00 to 24";
		};
		
		class heure_gauche:boutons
		{ 
			idc = 10037; 
			x = 0.67; 
			y = 0.800; 
			w = 0.049; 
			h = 0.015; 
			text = "Time <"; 
			action = "valid_heure = valid_heure-1 ; [0] execVM ""computer\boutons\heure_action.sqf"";";
			info = "Set hour of the day from 00 to 24";
		};
		
		class heure_droite:boutons
		{ 
			idc = 10038; 
			x = 0.74; 
			y = 0.800; 
			w = 0.02; 
			h = 0.015; 
			text = ">"; 
			action = "valid_heure = valid_heure+1 ; [0] execVM ""computer\boutons\heure_action.sqf"";";
			info = "Set hour of the day from 00 to 24";
		};
		
		class heure_valider:boutons
		{ 
			idc = 10039; 
			x = 0.76; 
			y = 0.800; 
			w = 0.03; 
			h = 0.015; 
			text = "ok"; 
			action = "[1] execVM ""computer\boutons\heure_action.sqf"";";
			info = "Set hour of the day from 00 to 24";
		};

    class arty_select_combo:VtsCombo
    {
    idc = 10041;
    x = 0.500;
    y = 0.865; 
    w = 0.15;
    h = 0.020;
    text = "Artillery";
    onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_arty.sqf"";";
    info = "Select the artillery you wich to use";          
    };


		class artyr_valider:boutons
		{ 
			idc = 10043; 
			x = 0.650; 
			y = 0.865; 
			w = 0.03; 
			h = 0.020; 
			text = "ok"; 
			action = "[1] execVM ""computer\console\console_artillery.sqf"";";
			info = "Launch Artillery with the specified radius, on the map";
		};
		
		
		class arty_text:RscText
		{
		idc=10049;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Artillery";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.5;
		y = 0.550;
		w = 0.56;
		h = 0.61;
		};
    		
		class destroyterrain:boutons
		{ 
			idc = 10044; 
			x = 0.500; 
			y = 0.892; 
			w = 0.18; 
			h = 0.017; 
			text = "Destroy buildings"; 
			action = "[] execVM ""computer\console\console_destroyterrain.sqf"";";
			info = "It destroy all buildings and natural objects inside the radius";
		};
		class killunits:boutons
		{ 
			idc = 10045; 
			x = 0.500; 
			y = 0.912; 
			w = 0.18; 
			h = 0.017; 
			text = "Kill everything"; 
			action = "[] execVM ""computer\console\console_killunits.sqf"";";
			info = "It kill all units and vehicles inside the radius, except players";
		};		

		class side_balance:RscEdit
		{ 
			idc = 10046;
			style = ST_RIGHT; 
			x = 0.300; 
			y = 0.120; 
			w = 0.120;
			h = 0.015;
			text = ""; 
		  colorText[] = {0.9,0.9,0.9, 1};
		  colorSelection[] = {0.5, 0.5, 0.5, 1};			
			info = "Current balance of the selected side";
		};				

		class side_balance_button:boutons
		{ 
			idc = 10047; 
			x = 0.425; 
			y = 0.120; 
			w = 0.040; 
			h = 0.015; 
			text = "Set"; 
			action = "[] call vts_shopsetbalancebygm;";
			info = "Apply the current balance to the selected side";
		};

		class side_balancetxt:RscText
		{
		idc = 10048; 
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "balance $";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.195;
		y = -0.177;
		w = 0.56;
		h = 0.61;
		info = "Balance of the selected side in $";
		};	

		class menubas1:boutons
		{ 
			idc = 10053; 
			x = 0.100; 
			y = 0.870; 
			w = 0.12; 
			h = 0.030; 
			text = "Exit"; 
			action = "call Dlg_StoreParams;closeDialog 0;";
			info = "Close the GM interface";
		};
		class menubas2backgm:boutons
		{ 
			idc = 19000; 
			x = 0.350; 
			y = 0.870; 
			w = 0.12; 
			h = 0.030; 
			text = "Back to GM"; 
			action = "[player] execVM ""computer\console\takecontrolback.sqf"";";
			info = "Get back in your GM avatar shoes";
		};		



    class unit_object_music_combo:VtsCombo
    {
    idc = 10605;
    x = 0.795;
    y = 0.785; 
    w = 0.11;
    h = 0.025;
    text = "Music";
    onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_music.sqf"";";
    info = "Launch the selected music in the mission only for the master, use ""Play"" to not interupt the current play";          
    };
    
	class unit_object_music_all:boutons
	{ 
		idc = 10607;
		x = 0.905;
		y = 0.785; 
		w = 0.04;
		h = 0.025;
		text = "All"; 
		action = "3 fademusic 0;if (console_valid_music > 1) then {hint format[""Now playing : %1 on all players"",Musicvalid];};if (console_valid_music == 1) then {hint ""Music stop : on all players"";};publicvariable ""Musicvalid"";Gomusic  = True;publicvariable ""Gomusic""";
		info = "Broadcast the selected music to ALL players";    
    };
    
    class unit_object_colors_combo:VtsCombo
    {
    idc = 10705;
    x = 0.795;
    y = 0.760; 
    w = 0.15;
    h = 0.025;
    text = "Colors";
    onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_colors.sqf"";";        
    info = "Change the ambient colors";  
    };

		class camp_combo:VtsCombo
		{ 
			idc = 10203;
			x = 0.100; 
			y = 0.140; 
			w = 0.090;
			h = 0.015;
			text = "unit camp"; 
			
			onLBSelChanged = "boutoncamp=[0] execVM ""computer\console\boutons\console_valid_camp.sqf"";";
			info = "Select the faction";
		};
		
		class side_combo:VtsCombo
		{ 
			idc = 10206;
			x = 0.100; 
			y = 0.120; 
			w = 0.090;
			h = 0.015;
			text = "unit side"; 
			
			onLBSelChanged = "boutonside=[0] execVM ""computer\console\boutons\console_valid_side.sqf"";";
			info = "Select the side";
		};
	
		/*
		class unit_object_side1:boutons
		{
			idc = 10205;
			x = 0.100;
			y = 0.120;
			w = 0.020;
			h = 0.015;
			text = "<";
			action = "console_valid_side = console_valid_side-1 ; [0] execVM ""computer\console\boutons\console_valid_side.sqf"";";
			info = "Change side";
		};
		
		class unit_object_side2:boutons
		{
			idc = 10206;
			x = 0.120; 
			y = 0.120; 
			w = 0.050; 
			h = 0.015; 
			text = "side"; 
			info = "Change side";
		};
		
		class unit_object_side3:boutons
		{
			idc = 10207;
			x = 0.170;
			y = 0.120;
			w = 0.020;
			h = 0.015;
			text = ">";
			action = "console_valid_side = console_valid_side+1 ; [0] execVM ""computer\console\boutons\console_valid_side.sqf"";";
			info = "Change side";
		};
		*/
		
		// ----------------------- Unités et objets =  ligne 1 type
		class type_combo:VtsCombo
		{ 
			idc = 10305;
			x = 0.200; 
			y = 0.140; 
			w = 0.09;
			h = 0.015;
			text = "unit Type"; 
			
			onLBSelChanged = "boutontype=[0] execVM ""computer\console\boutons\console_valid_type.sqf"";";
			info = "Select the type of your spawn";
		};
		// ----------------------- Unités et objets =  ligne 1 unite
		
		class formation_combo:VtsCombo
		{ 
			idc = 10307;
			x = 0.345;  
			y = 0.185; 
			w = 0.125;
			h = 0.015;
			text = "formation"; 
			
			onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_formation.sqf"";";
			info = "Select the formation for the next order";
		};
		
		
		class unit_combo:VtsCombo
		{ 
			idc = 10306;
			x = 0.300;  
			y = 0.140; 
			w = 0.170;
			h = 0.015;
			text = "unit"; 
			
			onLBSelChanged = "boutonunit=[0] execVM ""computer\console\boutons\console_valid_unite.sqf"";";
			info = "Object to spawn";
		};		
		// ----------------------- Unités et objets =  ligne 2 attitude
		
		class unit_object_attitude1:boutons
		{ 
			idc = 10211; 
			x = 0.100; 
			y = 0.160; 
			w = 0.020; 
			h = 0.015; 
			text = "<"; 
			action = "console_valid_attitude = console_valid_attitude-1 ; [0] execVM ""computer\console\boutons\console_valid_attitude.sqf"";";
			info = "Select spawning object behaviour";
		};
		
		class unit_object_attitude2:boutons
		{ 
			idc = 10212; 
			x = 0.120; 
			y = 0.160; 
			w = 0.050; 
			h = 0.015; 
			text = "attitude"; 
			info = "Select spawning object behaviour";
		};
		
		class unit_object_attitude3:boutons
		{ 
			idc = 10213; 
			x = 0.170; 
			y = 0.160; 
			w = 0.020; 
			h = 0.015; 
			text = ">"; 
			action = "console_valid_attitude = console_valid_attitude+1 ; [0] execVM ""computer\console\boutons\console_valid_attitude.sqf"";";
			info = "Select spawning object behaviour";
		};
		
		// ----------------------- Unités et objets =  ligne 2 vitesse
		
		class unit_object_vitesse1:boutons
		{ 
			idc = 10214; 
			x = 0.200; 
			y = 0.160; 
			w = 0.020; 
			h = 0.015; 
			text = "<"; 
			action = "console_valid_vitesse = console_valid_vitesse-1 ; [0] execVM ""computer\console\boutons\console_valid_vitesse.sqf"";";
			info = "Select motion speed of your spawning object";
		};
		
		class unit_object_vitesse2:boutons
		{ 
			idc = 10215; 
			x = 0.220; 
			y = 0.160; 
			w = 0.050; 
			h = 0.015; 
			text = "vitesse"; 
			info = "Select motion speed of your spawning object";
		};
		
		class unit_object_vitesse3:boutons
		{ 
			idc = 10216; 
			x = 0.270; 
			y = 0.160; 
			w = 0.020; 
			h = 0.015; 
			text = ">"; 
			action = "console_valid_vitesse = console_valid_vitesse+1 ; [0] execVM ""computer\console\boutons\console_valid_vitesse.sqf"";";
			info = "Select motion speed of your spawning object";
		};
		
		// ----------------------- Unités et objets =  ligne 2 mouvement
		class unit_object_mouvement_combo:VtsCombo
		{ 
			idc = 10218; 
			x = 0.300; 
			y = 0.160; 
			w = 0.170; 
			h = 0.015; 
			text = "mouvement"; 
			onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_mouvement.sqf"";";
			info = "Select movement order of your spawning object";
		};

		// ----------------------- Unités et objets =  ligne 1 type
		class Env_Sfx_combo:VtsCombo
		{ 
			idc = 10609;
			x = 0.500; 
			y = 0.1; 
			w = 0.095;
			h = 0.016;
			text = "Audio Env."; 
			onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_audio_env.sqf"";";
			info = "Select the audio environment to place";
		};

		class Place_Env_Sfx:boutons
		{ 
			idc = 10604; 
			x = 0.595; 
			y = 0.1; 
			w = 0.050; 
			h = 0.015; 
			text = "Place"; 
			action = "breakclic = breakclic + 1;[] execVM ""computer\console\console_audio_env.sqf"";";
			info = "Place the selected environment effect on the map";
		};		
		
		class DiceRoll2:boutons
		{ 
			idc = 10611; 
			x = 0.745; 
			y = 0.1; 
			w = 0.050; 
			h = 0.015; 
			text = "Dice2"; 
			action = "hint format[""You roll a D2 for : %1"",round(random 1)+1];";
			info = "Roll a dice of 2. Only the GM can see it";
		};
		class DiceRoll6:boutons
		{ 
			idc = 10612; 
			x = 0.845; 
			y = 0.1; 
			w = 0.050; 
			h = 0.015; 
			text = "Dice6"; 
			action = "hint format[""You roll a D6 for : %1"",round(random 5)+1];";
			info = "Roll a dice of 6. Only the GM can see it";
		};
		class DiceRoll20:boutons
		{ 
			idc = 10613; 
			x = 0.895; 
			y = 0.1; 
			w = 0.050; 
			h = 0.015; 
			text = "Dice20"; 
			action = "hint format[""You roll a D20 for : %1"",round(random 19)+1];";
			info = "Roll a dice of 20. Only the GM can see it";
		};
		class DiceRoll3:boutons
		{ 
			idc = 10610; 
			x = 0.795; 
			y = 0.1; 
			w = 0.050; 
			h = 0.015; 
			text = "Dice3"; 
			action = "hint format[""You roll a D3 for : %1"",round(random 2)+1];";
			info = "Roll a dice of 3. Only the GM can see it";
		};            		
		// ----------------------- Unités et objets = moral texte
		
		class unit_object_moraltexte:RscText
		{
			idc=10220;
			style = ST_LEFT;
			colorText[] = {0.9,0.9,0.9, 1};
			text = "Skill----- 0.3";
			font = LucidaConsoleB;
			colorBackground[] = {0, 0, 0, 0};
			sizeEx = 0.018;
			x = 0.100;
			y = -0.110;
			w = 0.56;
			h = 0.61;
		};
		
		// ----------------------- Unités et objets = orientation texte
		
		class unit_object_orientationtexte:RscText
		{
			idc=10221;
			style = ST_LEFT;
			colorText[] = {0.9,0.9,0.9, 1};
			text = "Direction----";
			font = LucidaConsoleB;
			colorBackground[] = {0, 0, 0, 0};
			sizeEx = 0.018;
			x = 0.100;
			y = -0.090;
			w = 0.56;
			h = 0.61;
		};
		
		// ----------------------- Unités et objets = Nom texte
		
		class unit_object_nomtexte:RscText
		{
			idc=10222;
			style = ST_LEFT;
			colorText[] = {0.9,0.9,0.9, 1};
			text = "Name---------";
			font = LucidaConsoleB;
			colorBackground[] = {0, 0, 0, 0};
			sizeEx = 0.018;
			x = 0.100;
			y = -0.070;
			w = 0.56;
			h = 0.61;
		};
		
		// ----------------------- Unités et objets = Init texte
		
		class unit_object_inittexte:RscText
		{
			idc=10223;
			style = ST_LEFT;
			colorText[] = {0.9,0.9,0.9, 1};
			text = "Init---------";
			font = LucidaConsoleB;
			colorBackground[] = {0, 0, 0, 0};
			sizeEx = 0.018;
			x = 0.100;
			y = -0.050;
			w = 0.56;
			h = 0.61;
		};
		
		// ----------------------- Unités et objets = valid texte
		
		class unit_object_validtexte:RscText
		{
			idc=10224;
			style = ST_LEFT;
			colorText[] = {0.9,0.9,0.9, 1};
			text = "Spawn ------";
			font = LucidaConsoleB;
			colorBackground[] = {0, 0, 0, 0};
			sizeEx = 0.018;
			x = 0.100;
			y = -0.030;
			w = 0.56;
			h = 0.61;
		};
		
		// ----------------------- Unités et objets =  ligne 3 moral
			class unit_object_moral_slider:RscSlider
		{ 
			idc = 10225; 
			type = 3;
      style = 1024;
      x = 0.225;
      y = 0.185;
      w = 0.1;
      h = 0.015;
      color[] = { 1, 1, 1, 1 };
      coloractive[] = { 1, 1, 1, 1.0 };
      sizeEx = 0.025;
      // This is an ctrlEventHandler to show you some response if you move the sliderpointer. 
      onSliderPosChanged = "[_this] execVM ""computer\console\boutons\console_valid_moral.sqf"";";
      info = "Select the skill of your spawning object";
    };
		/*
		class unit_object_moral1:boutons
		{ 
			idc = 10225; 
			x = 0.230; 
			y = 0.185; 
			w = 0.020; 
			h = 0.015; 
			text = "<"; 
			action = "console_valid_moral = console_valid_moral-1 ; [0] execVM ""computer\console\boutons\console_valid_moral.sqf"";";
			info = "Select the skill of your spawning object";
		};
		
		class unit_object_moral2:boutons
		{ 
		idc = 10226; 
		x = 0.250; 
		y = 0.185; 
		w = 0.050; 
		h = 0.015; 
		text = "moral"; 
		info = "Select the skill of your spawning object";
		};
		
		class unit_object_moral3:boutons
		{ 
		idc = 10227; 
		x = 0.300; 
		y = 0.185; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "console_valid_moral = console_valid_moral+1 ; [0] execVM ""computer\console\boutons\console_valid_moral.sqf"";";
		info = "Select the skill of your spawning object";
		};
		*/
		class Radius_Less:boutons
		{ 
		idc = 10228; 
		x = 0.350; 
		y = 0.205; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "radius=[0] call vts_radiuschange;hint format [""Patrols, delete, Fill interiors -> %1 Radius"",radius];[] call updateradiusbuttons;;publicvariable ""radius""";
		info = "Change the work radius value";
		};		
		class Radius_multiplied :boutons
		{ 
		idc = 10904; 
		x = 0.370; 
		y = 0.205; 
		w = 0.095; 
		h = 0.015; 
		text = "change radius >"; 
		action = "radius=[1] call vts_radiuschange;hint format [""Patrols, delete, Fill interiors -> %1 Radius"",radius];[] call updateradiusbuttons;;publicvariable ""radius""";
		info = "Change the work radius value";
		};
		
		// ----------------------- Unités et objets =  ligne 4 orientation
		
		class unit_object_orientation1:boutons
		{ 
		idc = 10228; 
		x = 0.230; 
		y = 0.205; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "console_valid_orientation = console_valid_orientation-1 ; [0] execVM ""computer\console\boutons\console_valid_orientation.sqf"";";
		info = "Select direction of the spawning object";
		};
		
		class unit_object_orientation2:boutons
		{ 
		idc = 10229; 
		x = 0.250; 
		y = 0.205; 
		w = 0.050; 
		h = 0.015; 
		text = "orient"; 
		info = "Select direction of the spawning object";
		};
		
		class unit_object_orientation3:boutons
		{ 
		idc = 10230; 
		x = 0.300; 
		y = 0.205; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "console_valid_orientation = console_valid_orientation+1 ; [0] execVM ""computer\console\boutons\console_valid_orientation.sqf"";";
		info = "Select direction of the spawning object";
		};

    //------------------------- Mise à jour des ordres d'une unité déja existante
    
    class unit_neworders:boutons
		{ 
		idc = 10903; 
		x = 0.330; 
		y = 0.268; 
		w = 0.165; 
		h = 0.015; 
		text = "Reassign orders on map"; 
		action = "breakclic = breakclic + 1; [] execVM ""Computer\console\console_applyordersonmap.sqf"";";
		info = "Reassign the selected movement order, formation, speed and behaviour to a spawned group";
		};
		
		// ----------------------- Unités et objets =  ligne 5 nom
		
		class unit_object_nom : RscEdit
		{
		idc = 10231;
		x = 0.230;
		y = 0.223;
		w = 0.2;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		// ----------------------- Unités et objets =  ligne 6 init
		
		class unit_object_init : RscEdit
		{
		idc = 10232;
		x = 0.230;
		y = 0.245;
		w = 0.2;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		autocomplete="scripting";
		};

	   class unit_object_init_pre_line_combo:VtsCombo
		{
		idc = 10608;
		x = 0.435;
		y = 0.245; 
		w = 0.06;
		h = 0.02;
		text = "";
		onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_pre_init_line.sqf"";"; 
    info = "Pre-made inits to use on spawn";         
		};
		
		// ----------------------- Unités et objets =  ligne 5 valid
		
		class unit_object_valid1:boutons
		{ 
		idc = 10233; 
		x = 0.195; 
		y = 0.268; 
		w = 0.030; 
		h = 0.015; 
		colorText[] = { 0.2,1,0.2, 1 };
		text = "2D"; 
		action = "breakclic = breakclic + 1;[] execVM ""computer\console\console_map.sqf"";";
		info = "Spawn an object by clicking on the map";
		};
		
		
		class unit_object_3D:boutons
		{ 
		idc = 10210; 
		x = 0.230; 
		y = 0.268; 
		w = 0.030; 
		h = 0.015; 
		text = "3D";
		//action = "if ((var_console_valid_type == ""Statique"") or (var_console_valid_type == ""Groupe"")) then {} else {Typesave=lbCurSel 10305;Unitsave=lbCurSel 10306;console_valid_mouvement = 0;nom_console_valid_mouvement = ""None"";var_console_valid_mouvement = """";[] execVM ""NORRN_spectate\start3d.sqf""};";
		action = "if (player == (vehicle player)) then {breakclic = breakclic + 1;call Dlg_StoreParams;console_valid_mouvement = 0;nom_console_valid_mouvement = ""None"";var_console_valid_mouvement = """";[] execVM ""Computer\spectator\Start_PlaceCam.sqf"";} else {hint ""3D Cam desactivated in vehicles"";}";
		info = "Spawn an object via a 3D view after a click on the map";
		};
		
		class unit_object_3Dmove:boutons
		{ 
		idc = 19001; 
		x = 0.355; 
		y = 0.395; 
		w = 0.12; 
		h = 0.015; 
		text = "3D Displacement";
		//action = "if ((var_console_valid_type == ""Statique"") or (var_console_valid_type == ""Groupe"")) then {} else {Typesave=lbCurSel 10305;Unitsave=lbCurSel 10306;console_valid_mouvement = 0;nom_console_valid_mouvement = ""None"";var_console_valid_mouvement = """";[] execVM ""NORRN_spectate\start3d.sqf""};";
		action = "if (player == (vehicle player)) then {breakclic = breakclic + 1;call Dlg_StoreParams;console_valid_mouvement = 0;nom_console_valid_mouvement = ""None"";var_console_valid_mouvement = """";[] execVM ""Computer\spectator\Start_3Dmove.sqf"";} else {hint ""3D Cam desactivated in vehicles"";}";
		info = "Displace an object after a click on the map";
		};
			
		class unit_object_preview:boutons
		{ 
		idc = 10399; 
		x = 0.265; 
		y = 0.268; 
		w = 0.055; 
		h = 0.015; 
		text = "Preview";
		//action = "if ((var_console_valid_type == ""Statique"") or (var_console_valid_type == ""Groupe"")) then {} else {Typesave=lbCurSel 10305;Unitsave=lbCurSel 10306;Mouvsave=lbCurSel 10218;closeDialog 0;[] execVM ""computer\console\preview.sqf""};";
		action = "if (player == (vehicle player)) then {call Dlg_StoreParams;closeDialog 0;[] execVM ""computer\console\preview.sqf""} else {hint ""3D Cam desactivated in vehicles"";};";
		info = "Preview the selected object to spawn";
		};
		//action = "Typesave=lbCurSel 10305;Unitsave=lbCurSel 10306;Mouvsave=lbCurSel 10218;closeDialog 0;[] execVM ""computer\console\preview.sqf"";";
		
		// delete_valid




		

		
		class deletebig_valid:boutons
		{ 
		idc = 10400; 
		x = 0.220; 	
		//x = 0.370; 
		y = 0.298; 
		w = 0.075; 
		h = 0.015; 
		text = "Del(500m)";
		action = "breakclic = breakclic + 1; [radius] execVM ""Computer\console\console_delete.sqf"";";
		info = "Delete units, vehicles and tasks in the specified radius";
		};
		
		class clone_valid:boutons
		{ 
		idc = 10391; 
		x = 0.302; 	
		//x = 0.370; 
		y = 0.298; 
		w = 0.045; 
		h = 0.015; 
		text = "Clone";
		action = "breakclic = breakclic + 1; [50] execVM ""Computer\console\console_clone.sqf"";";
		info = "Make a copy of a group";
		};
		
		class Join_valid:boutons
		{ 
		idc = 10392; 
		x = 0.355; 	
		//x = 0.370; 
		y = 0.298; 
		w = 0.035; 
		h = 0.015; 
		text = "Join";
		action = "breakclic = breakclic + 1; [] execVM ""Computer\console\console_join.sqf"";";
		info = "Merge a group with another group";
		};
		
		class Take_valid:boutons
		{ 
		idc = 10395; 
		x = 0.395; 	
		//x = 0.370; 
		y = 0.298; 
		w = 0.100; 
		h = 0.015; 
		text = "Take Control";
		action = "if (hcShownBar) then {hcShowBar false};breakclic = breakclic + 1; [] execVM ""Computer\console\takecontrol.sqf"";";
		info = "As GM take control of an AI";
		};
		
		// -------------------------- Switch joueur / scripteur
				
		class switch_joueur_scripteur1:boutons
		{ 
		idc = 10234; 
		x = 0.100; 
		y = 0.050; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "joueur_scripteur = joueur_scripteur-1 ; [0] execVM ""computer\console\boutons\console_joueur_scripteur.sqf"";";
		info = "Swith to advanced mode";
		};
		
		class switch_joueur_scripteur2:boutons
		{ 
		idc = 10235; 
		x = 0.120; 
		y = 0.050; 
		w = 0.050; 
		h = 0.015; 
		text = "joueur"; 
		info = "Swith to advanced mode";
		};
		
		class switch_joueur_scripteur3:boutons
		{ 
		idc = 10236; 
		x = 0.170; 
		y = 0.050; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "joueur_scripteur = joueur_scripteur+1 ; [0] execVM ""computer\console\boutons\console_joueur_scripteur.sqf"";";
		info = "Swith to advanced mode";
		};
		
		// --------------------------------------------------------------
		// ----------------------- Joueur = présentation
		// --------------------------------------------------------------
		
		class joueur_object:RscText
		{
		idc=10237;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "====== Players =======================";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.020;
		w = 0.56;
		h = 0.61;
		};
		
		// Joueur = teleport et gps titres
		
		class joueur_telep_titre:RscText
		{
		idc=10238;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Insertion: Teleport everyone (GM too)--";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.035;
		w = 0.56;
		h = 0.61;
		};
		
		
		// téléportation d'un joueur solo
		
		class joueursolo_telep_titre:RscText
		{
		idc=10294;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Teleport ----------";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.055;
		w = 0.56;
		h = 0.61;
		};
		/*
		class joueursolo_telep_code:boutons
		{ 
		idc = 10295; 
		x = 0.240; 
		y = 0.350; 
		w = 0.065; 
		h = 0.015; 
		text = "usere1"; 
		};
		
		class joueursolo_telep_nom1:boutons
		{ 
		idc = 10296; 
		x = 0.310; 
		y = 0.350; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "joueursolo_telep = joueursolo_telep-1 ; [0] execVM ""computer\console\boutons\joueursolo_telep.sqf"";";
		};
		
		class joueursolo_telep_nom:boutons
		{ 
		idc = 10297; 
		x = 0.330; 
		y = 0.350; 
		w = 0.100; 
		h = 0.015; 
		text = "[CTR]Grimm"; 
		};
		
		class joueursolo_telep_nom2:boutons
		{ 
		idc = 10298; 
		x = 0.430; 
		y = 0.350; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "joueursolo_telep = joueursolo_telep+1 ; [1] execVM ""computer\console\boutons\joueursolo_telep.sqf"";";
		};
		*/

		class joueursolo_telep_nom:VtsCombo
		{ 
		idc = 10297; 
		x = 0.280; 
		y = 0.350; 
		w = 0.170; 
		h = 0.015; 
		text = "User"; 
		onLBSelChanged = "[0] execVM ""computer\console\boutons\joueur_tp.sqf"";"; 
    info = "Select player to teleport";  
		};
	
		
		class joueursolo_telep_valid:boutons
		{ 
		idc = 10299; 
		x = 0.460; 
		y = 0.350; 
		w = 0.020; 
		h = 0.015; 
		text = "ok"; 
		action = "[] execVM ""computer\console\joueursolo_map.sqf"";";
		info = "Teleport selected player";
		};
		
		class joueur_gps_titre:RscText
		{
		idc=10239;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Disable / Enable markers for GM --";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.075;
		w = 0.56;
		h = 0.61;
		
		};

		class moveobjectin3d:RscText
		{
		idc=19002;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Move an object around  ----";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.097;
		w = 0.56;
		h = 0.61;
		};
		
		
		class camera_titre:RscText
		{
		idc=10390;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "interact --";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.000;
		w = 0.56;
		h = 0.61;
		};
		
		
		class fillroadsandother:RscText
		{
		idc=10393;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Fill roads with vehicles from current side ----";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.117;
		w = 0.56;
		h = 0.61;
		};
    
		
		class addbat:RscText
		{
		idc=10398;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		//text = "Put enemy in buildings (50M radius) ---";
		//text = "Fill interiors with current side (100M)";
		text = "Fill interiors with current camp (100M)";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.139;
		w = 0.56;
		h = 0.61;
		};
		
		class convoi:RscText
		{
		idc=10302;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Teleport a group and its vehicles ----";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.160;
		w = 0.56;
		h = 0.61;
		};
    
		class changesideofagroup:RscText
		{
		idc=10910;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Apply current side to a group ----";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.205;
		w = 0.56;
		h = 0.61;
		};
		

		// chanceside
		class applyside:boutons
		{ 
		idc = 10911; 
		x = 0.395; 
		y = 0.502; 
		w = 0.090; 
		h = 0.015; 
		text = "Change side"; 
		action = "[] execVM ""computer\console\console_changeside.sqf"";";
		info="Change the side of a group by the current selected side";
		};
		

		class populate:RscText
		{
		idc=10900;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Populate with civilians -";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.228;
		w = 0.56;
		h = 0.61;
		};

		// Populate city
		class populatecity:boutons
		{ 
		idc = 10901; 
		x = 0.425; 
		y = 0.522; 
		w = 0.055; 
		h = 0.015; 
		text = "EU City"; 
		action = "[""CIV""] execVM ""computer\console\console_populate.sqf"";";
		info = "Populate a town with Chernarus civilians";
		};
		// Populate village
		class populatevillage:boutons
		{ 
		idc = 10902; 
		x = 0.365; 
		y = 0.522; 
		w = 0.055; 
		h = 0.015; 
		text = "EU Vil"; 
		action = "[""CIV""] execVM ""computer\console\console_populate.sqf"";";
		info = "Populate a town with Chernarus civilians";
		};

		// Populate Takistan village
		class populatetkvillage:boutons
		{ 
		idc = 10905; 
		x = 0.305; 
		y = 0.522; 
		w = 0.055; 
		h = 0.015; 
		text = "TK Vil"; 
		action = "[""BIS_TK_CIV""] execVM ""computer\console\console_populate.sqf"";";
		info = "Populate a town with Takistan civilians";
		};
    
    //Parachute
		class parachute:RscText
		{
		idc=19900;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Parachute a group ----";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.184;
		w = 0.56;
		h = 0.61;
		};			

		// Populate Takistan village
		class parachutebouton1500:boutons
		{ 
		idc = 19901; 
		x = 0.315; 
		y = 0.480; 
		w = 0.05; 
		h = 0.015; 
		text = "1500M"; 
		action = "[1500] execVM ""computer\console\console_groupparachute.sqf"";";
		info = "Parachute a group at 1500 M";
		};
		class parachutebouton3000:boutons
		{ 
		idc = 19902; 
		x = 0.370; 
		y = 0.480; 
		w = 0.05; 
		h = 0.015; 
		text = "3000M"; 
		action = "[3000] execVM ""computer\console\console_groupparachute.sqf"";";
		info = "Parachute a group at 3000 M";
		};
		class parachutebouton10000:boutons
		{ 
		idc = 19903; 
		x = 0.425; 
		y = 0.480; 
		w = 0.060; 
		h = 0.015; 
		text = "10000M"; 
		action = "[10000] execVM ""computer\console\console_groupparachute.sqf"";";
		info = "Parachute a group at 10000 M";
		};
		
		

		
		// Teleport_valid
		class teleport_valid:boutons
		{ 
		idc = 10240; 
		x = 0.460; 
		y = 0.330; 
		w = 0.020; 
		h = 0.015; 
		text = "ok"; 
		action = "[] execVM ""computer\console\teleport_rt.sqf"";";
		info = "Teleport every player at a point of the map";
		};
		
		// gps_valid
		
		class gps_valid:boutons
		{ 
		idc = 10241; 
		x = 0.385; 
		y = 0.372; 
		w = 0.055; 
		h = 0.015; 
		text = "Players"; 
		action = "[] spawn gmgps_players;";
		info = "Enable Disable players marker. Only the GM can see players markers";
		};
		
		class gps_eni_valid:boutons
		{ 
		idc = 10209; 
		x = 0.450; 
		y = 0.372; 
		w = 0.030; 
		h = 0.015; 
		text = "All"; 
		action = "[] spawn gmgps_all;";
		info = "Enable Disable all units marker. Only the GM can see units markers";
		};
		// camera_valid
		
		
	
		// copter_valid	
		
		class copter_valid1:boutons
		{ 
		idc = 10394; 
		x = 0.432; 
		y = 0.416; 
		w = 0.050; 
		h = 0.015; 
		text = "Roads"; 
		action = "breakclic = breakclic + 1;  [] execVM ""Computer\console\console_fillroads.sqf"";";
		info = "Populate a road with land vehicles of the currently selected faction";
		};	
		
		// gps_valid
		class addbat_valid:boutons
		{ 
		idc = 10301; 
		x = 0.460; 
		y = 0.438; 
		w = 0.020; 
		h = 0.015; 
		text = "ok"; 
		action = "breakclic = breakclic + 1;[] execVM ""Computer\console\console_IAinBat.sqf"";";
		info = "Fill buildings interiors with units from the selected faction";
		};
		
		class tpgroup_valid:boutons
		{ 
		idc = 10303; 
		x = 0.420; 
		y = 0.460; 
		w = 0.065; 
		h = 0.015; 
		text = "Teleport"; 
		action = "[] execVM ""Computer\console\console_grouptp.sqf"";";
		info = "Teleport a group to a new position";
		};
		
		// --------------------------------------------------------------
		// ----------------------- Ligne de commande = présentation
		// --------------------------------------------------------------
		
		class ligne_commande_pres:RscText
		{
		idc=10242;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "====== Command Line ==================";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.246;
		w = 0.56;
		h = 0.61;
		};
		
		// ligne de commande
		
		class ligne_commande_cadre : RscEdit
		{
		idc = 10243;
		x = 0.100;
		y = 0.562;
		w = 0.350;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		autocomplete="scripting";
		};

		// Populate city
		class ligne_commande_help:boutons
		{ 
		idc = 10300; 
		x = 0.450; 
		y = 0.562; 
		w = 0.040; 
		h = 0.015; 
		text = "HELP"; 
		action = "call Dlg_StoreParams;createDialog ""rsccommandhelp"";[] execvm ""Computer\commandlinehelp.sqf"";";
		info = "Display help box about the command line";
		};
		
	    class unit_object_pre_com_line_combo:VtsCombo
		{
		idc = 10606;
		x = 0.100;
		y = 0.587; 
		w = 0.390;
		h = 0.025;
		text = "precommandline";
		onLBSelChanged = "[0] execVM ""computer\console\boutons\console_valid_pre_com_line.sqf"";"; 
    info = "Precommand can be used as examples";         
		};
		
		// Script : titre
		
		class script_titre:RscText
		{
		idc=10244;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Script :";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.320;
		w = 0.56;
		h = 0.61;
		};
		
		// ----------------------- Script
		
		class scriptbouton1:boutons
		{ 
		idc = 10245; 
		x = 0.180; 
		y = 0.617; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "script_commande = script_commande-1 ; [0] execVM ""computer\console\boutons\script_commande.sqf"";";
		info = "Select a custom script to run instead of typed command";
		};
		
		class scriptbouton2:boutons
		{ 
		idc = 10246; 
		x = 0.200; 
		y = 0.617; 
		w = 0.100; 
		h = 0.015; 
		text = "Script"; 
		info = "Select a custom script to run instead of typed command";
		};
		
		class scriptbouton3:boutons
		{ 
		idc = 10247; 
		x = 0.300; 
		y = 0.617; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "script_commande = script_commande+1 ; [0] execVM ""computer\console\boutons\script_commande.sqf"";";
		info = "Select a custom script to run instead of typed command";
		};
		
		//------------------------- valider
		
		class command_validtexte:RscText
		{
		idc=10248;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Execute -----";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.350;
		w = 0.56;
		h = 0.61;
		};
		
		class command_valid1:boutons
		{ 
		idc = 10249; 
		x = 0.230; 
		y = 0.645; 
		w = 0.020; 
		h = 0.015; 
		text = "ok"; 
		action = "if (scriptrun < 1) then {scriptrun = 1 ; [1] execVM ""computer\console\boutons\script_commande.sqf"";};";
		info = "Execute command or script";
		//action = "[1] execVM ""computer\console\boutons\script_commande.sqf""";
		};
		
		// -------------------------------------------------------------------------------------------------------------------------------------------------------
		// -------------------------------------------------------------------------------------------------------------------------------------------------------
		// ------------------------------------------ DECLENCHEURS -------------------------------------------------------------------------------------
		// -------------------------------------------------------------------------------------------------------------------------------------------------------
		// -------------------------------------------------------------------------------------------------------------------------------------------------------
		
		// -------------------------------------présentation
		
		class decl_pres:RscText
		{
		idc=10250;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "====== Triggers ======================";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.380;
		w = 0.56;
		h = 0.61;
		};
		
		// ---------------------------------- Ligne1 : axe, angle, ellipse...
		
		class l1_axea1:RscText
		{
		idc=10251;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "W---";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.400;
		w = 0.56;
		h = 0.61;
		};
		
		class l1_axeA2 : RscEdit
		{
		idc = 10252;
		x = 0.145;
		y = 0.692;
		w = 0.045;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		class l1_axeB1:RscText
		{
		idc=10253;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "H---";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.195;
		y = 0.400;
		w = 0.56;
		h = 0.61;
		};
		
		class l1_axeB2 : RscEdit
		{
		idc = 10254;
		x = 0.240;
		y = 0.692;
		w = 0.045;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		class l1_angle1:RscText
		{
		idc=10255;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Angle";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.290;
		y = 0.400;
		w = 0.56;
		h = 0.61;
		};
		
		class l1_angle2 : RscEdit
		{
		idc = 10256;
		x = 0.340;
		y = 0.692;
		w = 0.045;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		class l1_ellipse1:boutons
		{ 
		idc = 10257; 
		x = 0.395; 
		y = 0.695; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "l1_ellipse1 = l1_ellipse1-1 ; [] execVM ""computer\console\boutons\l1_ellipse1.sqf"";";
		};
		
		class l1_ellipse2:boutons
		{ 
		idc = 10258; 
		x = 0.415; 
		y = 0.695; 
		w = 0.050; 
		h = 0.015; 
		text = "Ell."; 
		};
		
		class l1_ellipse3:boutons
		{ 
		idc = 10259; 
		x = 0.465; 
		y = 0.695; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "l1_ellipse1 = l1_ellipse1+1 ; [] execVM ""computer\console\boutons\l1_ellipse1.sqf"";";
		};
		
		// ---------------------------------- Ligne2 : activation
		
		class l2_acti_text:RscText
		{
		idc=10260;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Activation";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.420;
		w = 0.56;
		h = 0.61;
		};
		
		// Activé par qui
		
		class l2_qui_act1:boutons
		{ 
		idc = 10261; 
		x = 0.200; 
		y = 0.717; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "l2_qui_act1 = l2_qui_act1-1 ; [] execVM ""computer\console\boutons\l2_qui_act1.sqf"";";
		};
		
		class l2_qui_act2:boutons
		{ 
		idc = 10262; 
		x = 0.220; 
		y = 0.717; 
		w = 0.050; 
		h = 0.015; 
		text = "West"; 
		};
		
		class l2_qui_act3:boutons
		{ 
		idc = 10263; 
		x = 0.270; 
		y = 0.717; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "l2_qui_act1 = l2_qui_act1+1 ; [] execVM ""computer\console\boutons\l2_qui_act1.sqf"";";
		};
		
		// Combien de fois
		
		class l2_combien_act1:boutons
		{ 
		idc = 10264; 
		x = 0.300; 
		y = 0.717; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "l2_combien_act1 = l2_combien_act1-1 ; [] execVM ""computer\console\boutons\l2_combien_act1.sqf"";";
		};
		
		class l2_combien_act2:boutons
		{ 
		idc = 10265; 
		x = 0.320; 
		y = 0.717; 
		w = 0.050; 
		h = 0.015; 
		text = "1 time"; 
		};
		
		class l2_combien_act3:boutons
		{ 
		idc = 10266; 
		x = 0.370; 
		y = 0.717; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "l2_combien_act1 = l2_combien_act1+1 ; [] execVM ""computer\console\boutons\l2_combien_act1.sqf"";";
		};
		
		// Quoi
		
		class l2_quoi_act1:boutons
		{ 
		idc = 10267; 
		x = 0.400; 
		y = 0.717; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "l2_quoi_act1 = l2_quoi_act1-1 ; [] execVM ""computer\console\boutons\l2_quoi_act1.sqf"";";
		};
		
		class l2_quoi_act2:boutons
		{ 
		idc = 10268; 
		x = 0.420; 
		y = 0.717; 
		w = 0.050; 
		h = 0.015; 
		text = "Present"; 
		};
		
		class l2_quoi_act3:boutons
		{ 
		idc = 10269; 
		x = 0.470; 
		y = 0.717; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "l2_quoi_act1 = l2_quoi_act1+1 ; [] execVM ""computer\console\boutons\l2_quoi_act1.sqf"";";
		};
		
		// ---------------------------------- Ligne3 : délai
		
		class l3_delai_act1:boutons
		{ 
		idc = 10270; 
		x = 0.100; 
		y = 0.737; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "l3_delai_act1 = l3_delai_act1-1 ; [] execVM ""computer\console\boutons\l3_delai_act1.sqf"";";
		};
		
		class l3_delai_act2:boutons
		{ 
		idc = 10271; 
		x = 0.120; 
		y = 0.737; 
		w = 0.050; 
		h = 0.015; 
		text = "Delay"; 
		};
		
		class l3_delai_act3:boutons
		{ 
		idc = 10272; 
		x = 0.170; 
		y = 0.737; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "l3_delai_act1 = l3_delai_act1+1 ; [] execVM ""computer\console\boutons\l3_delai_act1.sqf"";";
		};
		
		// Min
		class l3_min_text:RscText
		{
		idc=10273;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Min";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.195;
		y = 0.440;
		w = 0.56;
		h = 0.61;
		};
		
		class l3_min_cadre : RscEdit
		{
		idc = 10274;
		x = 0.230;
		y = 0.733;
		w = 0.045;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		// Max
		class l3_max_text:RscText
		{
		idc=10275;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Max";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.280;
		y = 0.440;
		w = 0.56;
		h = 0.61;
		};
		
		class l3_max_cadre : RscEdit
		{
		idc = 10276;
		x = 0.315;
		y = 0.733;
		w = 0.045;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		// Moy
		class l3_moy_text:RscText
		{
		idc=10277;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Mid";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.365;
		y = 0.440;
		w = 0.56;
		h = 0.61;
		};
		
		class l3_moy_cadre : RscEdit
		{
		idc = 10278;
		x = 0.400;
		y = 0.733;
		w = 0.045;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		// ---------------------------------- Ligne4 : type, nom, texte
		
		class l4_type_act1:boutons
		{ 
		idc = 10279; 
		x = 0.100; 
		y = 0.757; 
		w = 0.020; 
		h = 0.015; 
		text = "<"; 
		action = "l4_type_act1 = l4_type_act1-1 ; [] execVM ""computer\console\boutons\l4_type_act1.sqf"";";
		};
		
		class l4_type_act2:boutons
		{ 
		idc = 10280; 
		x = 0.120; 
		y = 0.757; 
		w = 0.050; 
		h = 0.015; 
		text = "Type"; 
		};
		
		class l4_type_act3:boutons
		{ 
		idc = 10281; 
		x = 0.170; 
		y = 0.757; 
		w = 0.020; 
		h = 0.015; 
		text = ">"; 
		action = "l4_type_act1 = l4_type_act1+1 ; [] execVM ""computer\console\boutons\l4_type_act1.sqf"";";
		};
		
		// Nom
		class l4_nom_text:RscText
		{
		idc=10282;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Nm.";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.195;
		y = 0.460;
		w = 0.56;
		h = 0.61;
		};
		
		class l4_nom_cadre : RscEdit
		{
		idc = 10283;
		x = 0.230;
		y = 0.755;
		w = 0.060;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		// texte
		class l4_texte_text:RscText
		{
		idc=10284;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Text";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.295;
		y = 0.460;
		w = 0.56;
		h = 0.61;
		};
		
		class l4_texte_cadre : RscEdit
		{
		idc = 10285;
		x = 0.350;
		y = 0.755;
		w = 0.060;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		};
		
		// ---------------------------------- Ligne5 : condition
		class l5_condition_text:RscText
		{
		idc=10286;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Condition";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.480;
		w = 0.56;
		h = 0.61;
		};
		
		class l5_condition_cadre : RscEdit
		{
		idc = 10287;
		x = 0.200;
		y = 0.775;
		w = 0.2;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		autocomplete="scripting";
		};
		
		// ---------------------------------- Ligne6 : activation
		class l6_activation_text:RscText
		{
		idc=10288;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Activation";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.500;
		w = 0.56;
		h = 0.61;
		};
		
		class l6_activation_cadre : RscEdit
		{
		idc = 10289;
		x = 0.200;
		y = 0.795;
		w = 0.2;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		autocomplete="scripting";
		};
		
		// ---------------------------------- Ligne6 : desact
		class l7_desact_text:RscText
		{
		idc=10290;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Deactivat.";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		y = 0.520;
		w = 0.56;
		h = 0.61;
		};
		
		class l7_desact_cadre : RscEdit
		{
		idc = 10291;
		x = 0.200;
		y = 0.815;
		w = 0.2;
		h = 0.02;
		colorText[] = {0.9,0.9,0.9, 1};
		colorSelection[] = {0.5, 0.5, 0.5, 1};
		autocomplete="scripting";
		};
		
		// ---------------------------------- Ligne7 : valid
		
		class l7_validtrig_text:RscText
		{
		idc=10292;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "Create trigger -";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.100;
		//			y = 0.410;
		y = 0.540;
		w = 0.56;
		h = 0.61;
		};
		
		class l7_validtrig_valid1:boutons
		{ 
		idc = 10293; 
		x = 0.230; 
		y = 0.837;
		//		y = 0.707;
		w = 0.020; 
		h = 0.015; 
		text = "ok"; 
		action = "[] execVM ""computer\console\trigger_map.sqf"";";
		};
		
		// ---------------------------------------------------------fin des boutons

		class Map: VtsMapControl
		{
		idc = 105;
		colorBackground[] = {1,1,1,0.75};
		colorSea[] = {0.56,0.8,0.98,0};
		x = 0.5; 
		y = 0.12;
		w = 0.45;
		h = 0.63;
		default = true;
		};
		
		
		
		class ClickMap:RscText
		{
		idc=200;
		style = ST_LEFT;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.225;
		y = 0.625;
		w = 0.56;
		h = 0.61;
		};
		
		class TimeCPU:RscText
		{
		idc=110;
		style = ST_LEFT;
		colorText[] = {1, 1, 0, 1};
		text = "";
		font = LucidaConsoleB;
		colorBackground[] = {0, 0, 0, 0};
		sizeEx = 0.018;
		x = 0.1;
		y = 0.55;
		w = 0.80;
		h = 0.61;
		};

		class Chopper : RscStructuredText
		{
		idc = 108;
		font = LucidaConsoleB;
		x = 0.55;
		y = 0.67;
		w = 0.6; 
		h = 1;
		default = true;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "";
		};
		
		
		class Harrier : RscStructuredText
		{
		idc = 109;
		font = LucidaConsoleB;
		x = 0.55;
		y = 0.73;
		w = 0.6; 
		h = 1;
		default = true;
		colorText[] = {0.9,0.9,0.9, 1};
		text = "";
		};

		};	
		};
		
		
		
